@charset"utf-8";
/*自定义分页符样式*/
/***
    首页banner
***/
@font-face {
    font-family: 'siyuan';
    src:url('../fonts/SourceHanSerifCN-Bold.otf') ;
}
.inner{
    width: 1200px;
    margin: 0 auto;
}
@media screen and (max-width: 1200px){
    .inner{
        width: 1024px;
    }
}
@media screen and (max-width: 1024px){
    .inner{
        width: 100%;
    }
}
.container{
    padding: 0;
}
.ban-re{
    position: relative;
    width: 100%;
}
#banner{
    position: relative;
}
.navs{
    z-index: 99;
    position: absolute;
    margin: 0 auto;
    left: 0;
    width: 100%;
}
#banner .im_mo{display: none;}
#banner .im_pc{display: block;}
#banner .swiper-container-horizontal>.swiper-pagination{
    padding:0 3%;
    bottom:5%;
}
#banner .swiper-pagination-clickable .swiper-pagination-bullet{
    display: inline-block;
    width: 50px;
    height:8px;
    margin-left: 8px;
    background-color:#aaaaaa;
    transition: transform .2s;
    cursor: pointer;
    opacity: 1;
    border-radius: 4px;
}
#banner .swiper-pagination-bullets{
    padding:0 30px;
    bottom: 20px;
}
#banner .swiper-pagination-clickable .swiper-pagination-bullet-active{
    background-color:#eee;
}
.ban-box{
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 100;
    margin-bottom: 25px;
}
.ban-box h2{
    font-size: 32px;
    color: #ffffff;
    line-height: 40px;
    margin-right: 68px;
    margin-bottom: 60px;
    text-align: right;
    font-family: 'siyuan';
    font-style: italic;
}
@media screen and (max-width: 1200px) {
    .ban-box h2{
        margin-bottom: 30px;
        margin-right: 15px;
    }
}
@media screen and (max-width: 1024px) {
    #banner .swiper-pagination-clickable .swiper-pagination-bullet{
        width: 30px;
        height: 4px;
        border-radius: 2px;
    }
    .ban-box{
        bottom: 8px;
    }
    .ban-box h2{
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 14px;
    }
    #banner .swiper-pagination-bullets{
        bottom: 10px;
    }
}
@media screen and (max-width: 767px){
    #banner .im_mo{display: block;}
    #banner .im_pc{display: none;}

}
@media screen and (max-width: 370px){
    .ban-box h2{
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 5px;
    }
}
/******
    新闻动态
*/
.news{
    width: 100%;
    background-image: url(../images/index/news-bg01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
.news .inner{
    overflow: hidden;
    padding: 100px 0;
}
.news-im{
    float: left;
    width: 50%;
    text-align: right;
    padding-right: 25px;
    position: relative;
}
.news-im:after{
    content: '';
    display: table;
    clear: both;
}
.news-im .box{
    width: 280px;
    height: 450px;
    border: 1px solid #e70012;
    top: 0;
    float: right;
}
.news-im .ab{
    position: absolute;
    width: 330px;
    right: 60px;
    top: 25px;
    z-index: 5;
}
.news-im .ab img{
    max-width: 100%;
}
.news-im .xian{
    position: absolute;
    right: 268px;
    top: 80px;
    width: 240px;
    height: 1px;
    background-color: #e70012;
    z-index: 10;
}
.news-tx {
    float: left;
    width: 50%;
    padding-left: 18px;
    padding-right: 28px;
}
.news-tx h1{
    font-size: 22px;
    line-height: 40px;
    height: 40px;
    color: #ffffff;
    width: 180px;
    text-align: center;
    background-color: #e70012;
    margin-bottom: 20px;
}
.news-tx h2{
    font-size: 16px;
    line-height: 26px;
    color: #666666;
    margin-bottom: 22px;
}
.news-tx span{
    font-size: 14px;
    color: #333333;
}
.news-tx p{
    color: #666666;
    line-height: 20px;
    margin-bottom: 20px;
}
.news-sw{
    padding-top: 20px;
}
.news-sw{width: 100%;
    padding-top: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: space-around;
}
.news-sw .swiper-container{box-sizing: border-box;}
.news-sw .swiper-button-prev,.news-sw .swiper-button-next{
    margin-top:66px;position: static;display: inline-block;
    width: 88px;
    height: 24px;
}
.news-sw .swiper-button-prev{ background: url(../images/index/n-lf.png) no-repeat;}
.news-sw .swiper-button-next{ background: url(../images/index/n-rt.png) no-repeat;}
/***
    优孕服务
*/
.service{
    width: 100%;
    background-image: url(../images/index/news-bg02.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0;
}
.service .box{
    width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    overflow: hidden;
}
.box1 .ser-tx{
    float: right;
    width: 25%;
}
.ser-tx:after{
    content: '';
    display: table;
    clear: both;
}
.ser-tx h1{
    -webkit-writing-mode:vertical-rl;
    /*writing-mode:tb-rl;*/
    writing-mode:vertical-rl;
    text-align: justify;
    font-size:18px;
    width: 40px;
    line-height: 40px;
    padding: 10px 0;
    background-color: #e70012;
    color: #ffffff;
    float: right;
    margin-left: 30px;
}
.ser-tx h1 span{
    font-size: 16px;
}
.ser-tx p{
    -webkit-writing-mode:vertical-rl;
    /*writing-mode:tb-rl;*/
    writing-mode:vertical-rl;
    text-align: justify;
    color: #666;
    float: right;
    line-height: 45px;
    font-size: 16px;
    letter-spacing: 4px;
    height: 340px;
}
.ser-tx p span{
    padding-right: 10px;
    border-right: 1px solid #ddd;
}
.box1 .ser-im{
    float: left;
    width: 75%;
}
.ser-im td{
    padding: 0 10px;
    vertical-align: bottom;
}
.ser-im img{
    max-width: 100%;
}
.box2 .ser-tx{
    float: left;
    width: 25%;
}
.box2 .ser-im{
    float: right;
    width: 75%;
}
.box2 .ser-im{
    text-align: right;
    padding-left: 20px;
}
.box3{
    position: relative;
}
.box3 img{
    width: 100%;
}
.box3 .ser-tx{
    position: absolute;
    top: 106px;
    right: 92px;
}
.box3 .ser-tx p{
    height: 264px;
    padding-top: 50px;
    line-height: 40px;
    letter-spacing: 2px;
}
.box3 .ser-tx p span{
    border: none;
}
.box3 .ser-tx h1 span{
    font-size: 14px;
}
/****
    导师团队
*/
.team{
    width: 100%;
    background-image: url(../images/index/news-bg03.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 60px;
    padding-bottom: 80px;
}
.team h1{
    padding-bottom: 30px;
    font-size: 24px;
    color: #e70012;
}
.team h1 span{
    font-size: 20px;
}
.team ul{margin-bottom: 60px;overflow: hidden;
    padding-top: 30px;
}
.team ul:after{
    content: '';
    display: table;
    clear: both;
}
.team ul li{
    float: left;
    width: 25%;
    padding: 0 20px;
}
.team ul li a{
    display: block;
    position: relative;
}
.team  li img{
    width: 100%;
}
.team  li span{
    position: absolute;
    font-size: 18px;
    line-height: 22px;
    width: 32px;
    text-align: center;
    padding: 5px 0;
    background-color: #e70012;
    top:-28px;
    right: 25px;
    color: #ffffff;
}
.team  li .t-mb{
    position: absolute;
    bottom: -100%;
    background-color: #e70012;
    left: 0;
    right: 0;
    padding: 20px 12px;
    transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
}
.team  li .t-mb h2{
    font-size: 18px;
    color: #ffffff;
    line-height: 24px;
    margin-bottom: 20px;
}
.team  li .t-mb p{
    font-size: 14px;
    color: #ffffff;
    line-height: 22px;
    margin-bottom: 15px;
    height: 66px;
    overflow: hidden;
}
.t-btn{
    width: 390px;
    margin: 0 auto;
}
.t-btn a{
    width: 180px;
    text-align: center;
    line-height: 34px;
    font-size: 18px;
    height: 36px;
    display: inline-block;
}
.t-btn a:first-child{
    border: 1px solid #e70012;
    background-color: transparent;
    color: #e70012;
    margin-right: 20px;
}
.t-btn a:last-child{
    background-color: #e70012;
    border: 1px solid #e70012;
    color: #ffffff;
}

@media screen and (min-width: 1200px){
    .team  li:hover .t-mb{
        bottom: 0;
        transition: all ease-in-out 0.5s;
        -moz-transition: all ease-in-out 0.5s;
        -webkit-transition: all ease-in-out 0.5s;
    }
}
@media screen and (max-width: 1200px){
    .news-im{
        width: 40%;
    }
    .news-tx{
        width: 60%;
    }
}
@media screen and (max-width: 1024px){
    .news-im{
        display: none;
    }
    .news-tx{
        width: 100%;
        float: none;
        padding: 0 15px;
    }
    .news-sw{
        width: 554px;
    }
    .news .inner{
        padding: 38px 0;
    }
    .service .box{
        width: 100%;
        padding: 20px 10px;
    }
    .service{
        padding: 20px 0;
    }
    .ser-tx p{
        line-height: 32px;
        font-size: 14px;
    }
    .ser-tx p span{
        padding-right: 4px;
    }
    .box3 .ser-tx{
        top: 86px;
    }
    .team{
        padding: 25px 10px;
    }
    .t-btn a{
        width: 140px;
    }
    .t-btn{
        width: 310px;
    }
    .team ul{
        margin-bottom: 30px;
    }
    .team h1{
        padding-bottom:30px ;
        font-size: 20px;
    }
    .team h1 span{
        font-size: 18px;
    }
    .team li span{
        font-size: 16px;
        line-height: 18px;
        width: 28px;
        top: -14px;
    }
}

@media screen and (max-width: 996px){
    .box .ser-tx{
        float: none;
        width: 100%;
    }
    .box .ser-im{
        float: none;
        width: 600px;
        margin: 0 auto;
    }
    .ser-tx h1{
        float: none;
        margin-left: 0;
         -webkit-writing-mode: horizontal-tb;
         writing-mode: horizontal-tb;
        width: auto;
        text-align: center;
        padding: 0 8px;
        height: 32px;
        line-height: 32px;
        background-color: transparent;
        color: #e70012;
        font-size: 18px;
    }
    .ser-tx p{
        float: none;
        -webkit-writing-mode: horizontal-tb;
        writing-mode: horizontal-tb;
        text-align: left;
        line-height: 24px;
        letter-spacing: 1px;
        height: auto;
        margin: 15px 0;
        font-size: 16px;
        /*border: 1px dashed #ddd;*/
    }
    .ser-tx p span{
        padding: 0 0 2px 0;
        border: none;
    }
    .box3{
        position: inherit;
    }
    .box3 .ser-tx{
        position: inherit;
        top: inherit;
        right: inherit;
    }
    .box3 .ser-tx p{
        padding: 0;
        line-height: 24px;
        letter-spacing: 1px;
        height: auto;
    }
    .team h1{
        padding-bottom: 15px;
    }
    .box2 .ser-im{
        padding-left: 0;
    }
    .team ul{
        padding-top: 16px;
    }
    .box3 .ser-tx h1 span{
        font-size: 14px;
    }
    .ser-tx h1 span{
        font-size: 14px;
    }
    .team h1{
        font-size: 18px;
        text-align: center;
    }
    .team h1 span{
        font-size: 14px;
    }
}
@media screen and (max-width: 768px){
    .team ul li{
        width: 33.3%;
    }
    .team ul li:last-child{
        display: none;
    }
    .team li span{
        right: 0;
    }
}
@media screen and (max-width: 600px){
    .news-sw{
        width: 100%;
    }
    .news-sw img{
        max-width: 100%;
    }
    .news-sw .swiper-button-prev,.news-sw .swiper-button-next{
         margin-top: 18%;
        width: 9%;
    }
    .news-sw .swiper-container{
        width: 82%;
    }
    .box .ser-im{
        width: 100%;
    }
    .team ul li{
        width: 50%;
        padding-bottom: 16px;
    }
    .team ul li:last-child{
        display: block;
    }
    .team ul{
        margin-bottom: 0;
    }
    .t-btn a{
        width: 120px;
    }
    .t-btn{
        width: 268px;
    }
}
@media screen and (max-width: 400px){
    .team ul li{
        padding: 0 10px 16px;
    }
}

